package net.googlecode.exigenlab.task4.logging;

/**
 * Created by IntelliJ IDEA.
 * User: Loke
 * Date: 05.04.11
 * Time: 12:29
 * To change this template use File | Settings | File Templates.
 */

/**
 * Class that logging to console current operation and result of it.
 *
 * @author Sokolovskiy Mike
 * @version 1.0
 */
public class Logger {

    /**
     * Printing to console message about current operation and result of it.
     * @param operation name of operation
     * @param result result of operation
     */
    public void log(String operation, String result) {
        System.out.println(String.format("operation: %s\nresult: %s\n",operation, result));

    }
}
